package hk.xing.boot.service.impl;

import hk.xing.boot.mapper.RoleMapper;
import hk.xing.boot.service.RoleService;
import hk.xing.boot.vo.SysUserVo;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;

@Service
public class RoleServiceImpl implements RoleService {

    @Resource
    private RoleMapper roleMapper;


    @Override
    public SysUserVo selectRolesByUserId(Long userId) {
        return roleMapper.selectRolesByUserId(userId);
    }

}
